home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / 2716B.ZIP / SMUTIL.EXE / SUPER.HLP < prev    next >
Text File  |  1991-05-29  |  27KB  |  754 lines

  1. %main menu%
  2.  
  3.  
  4. This is the main menu of SUPER-MAINT.  Use the right and left arrow keys to 
  5. choose an item on the menu bar, and press enter to get the submenu for that 
  6. choice.
  7.  
  8. SUPER-MAINT is a Make utility for programmers.  It is very flexible in its 
  9. ability to handle files, paths and so on.  Programmers set their Make 
  10. preferences in the Setup section.
  11.  
  12. SUPER-MAINT is actually four programs.  The first is a powerful make file 
  13. editor (SME.EXE) that automates the writing of make files and provides 
  14. powerful tools for doing so. The second is a flexible Make utility (SM.EXE).
  15. Third is the setup utility (SMSET) with which you set up the parameters for 
  16. all the programs.  Last is the help facility (SMH.EXE).
  17. .cp
  18.  
  19.  
  20. HELP        Context sensitive, where help is available.
  21.  
  22. MAKE        Edit new or old SUPER-MAINT files.
  23.  
  24. SETUP       Call Setup program to set screen colors, parameters, and more.
  25.  
  26. TOOLBOX     Program information, Lang Def File Editor, DOS shell
  27.  
  28. QUIT        Return to DOS
  29. .cp
  30.  
  31.                      Quick Command Keys:
  32.  
  33.               alt-x     Quick quit
  34.               alt-q     Quick quit
  35.               ctrl-c    Quick quit
  36.               alt-v     Display Version and Serial Number
  37.               alt-b     Brand of Compiler Reminder Toggle
  38.                  F1     Display Help
  39.               alt-h     Display Help
  40.               alt-f     Files Menu
  41.               alt-m     Make Menu
  42.               alt-s     Setup Menu
  43.               alt-t     Toolbox Menu
  44.               alt-r     Review Current Settings
  45. .cp
  46.  
  47.  
  48.  
  49.                      Mouse Command Keys
  50.  
  51.               left      Pick a Menu choice
  52.               right     Help
  53.               
  54. If you have a mouse you may exit any menu by placing the mouse cursor over 
  55. the small box at the upper left of the window and pressing the left button.
  56. To exit the program use the small box at the upper left of the screen.
  57. .cp
  58.  
  59. When using pop-down menus:
  60.  
  61.               left     Next menu to the left
  62.              right     Next menu to the right
  63.                esc     Return to main menu bar
  64.  
  65. And if you have a mouse place the cursor on the main menu bar to the right 
  66. or left of the current choice:
  67.  
  68.               left        left button    Next menu to the left
  69.              right        left button    Next menu to the right
  70.     over small box        left button    Return to main menu bar
  71.           anywhere       right button    Help for current menu
  72. *END*
  73. %program info%
  74.  
  75. Programmer's SUPER-MAINT(tm) was written by Dan Veaner (CIS 71460,2644).
  76.  
  77.  
  78.                             ┌─────────┐
  79.                       ┌─────┴───┐     │              (tm)
  80.                     ──│         │        │──────────────────
  81.                       │   ┌─────┴╨──┐ │  Association of
  82.                       │   │         │─┘  Shareware
  83.                       └───│            │    Professionals
  84.                     ──────│    ║    │────────────────────
  85.                           └────╨────┘    MEMBER
  86.  
  87.  
  88. SUPER-MAINT is SHAREWARE.  This allows you to "try before you buy."  If you 
  89. use SUPER-MAINT after a 30 day trial period you must register your copy.  
  90. This program is copyrighted and EmmaSoft reserves all rights to SUPER-MAINT.
  91. .cp
  92.  
  93. Registration for single machine use is $55 plus $2.50 S&H.  Registered 
  94. users will recieve SUPER-MAINT on disk with printed documentation, as 
  95. well as upgrade notices and discounted upgrades.  Only registered users 
  96. may recieve technical support.  As long as the participating companies 
  97. continue these offers, registered users will also receive a free 
  98. CompuServe intro pak with $15 free on-line credit and a complimentary 
  99. subscription to CompuServe Magazine, PLUS a substantial discount on a
  100. subscription to Shareware Magazine.
  101.  
  102. Technical support is available from EmmaSoft by phone, mail, or our BBS, and
  103. on CompuServe 71460,2644.
  104. .cp
  105.  
  106. EmmaSoft accepts checks, Master Card and VISA.  (NY residents please add 
  107. sales tax).  Send your registration to:
  108.  
  109.                         EmmaSoft
  110.                         PO Box 238
  111.                         Lansing, NY 14882-0238
  112.  
  113. A registration form is included on the shareware disk and should be printed
  114. by typing "print reg.frm" at the DOS prompt.  You may register by phone with 
  115. a MasterCard or Visa at:   (607) 533-4685
  116.  
  117. Or with your modem call our BBS.  The latest versions of our shareware are
  118. always on the board, and you may register with MasterCard or Visa there.
  119. Set your modem to 2400, 1200 or 300 bps, N,8,1 and dial 607-533-7072.  The
  120. BBS is available 24 hours a day.
  121.  
  122. EmmaSoft is open 9-Noon, 1-5  Monday-Friday, and sometimes on Saturday.
  123. *END*
  124. %edit%
  125.  
  126. Pick Code Files  (alt-p)
  127.  
  128. SUPER-MAINT senses what drives you have on your system and lets you choose a 
  129. drive to work on.  Next the program lists all the directories on the drive. 
  130. To see more directories use Page Up or Page Down.  Finally, use the + and -
  131. keys to mark or unmark files you want in your Make file.
  132.  
  133. If you have a mouse place it over the drive letter and press the left button
  134. to choose a drive, and place it over a directory name and press the left
  135. button to choose a directory.  To mark or unmark a file place the mouse
  136. cursor over a choice and press the left button.
  137.  
  138. To reread drives or directories make sure you are in the drive or directory
  139. window and press ctrl-r.
  140.  
  141. Pressing the right mouse button gets you help.
  142. .cp
  143.  
  144. New File (reset) (alt-n)
  145.  
  146. Reset all values and buffers to start a new session.
  147.  
  148. Edit Old File    (alt-e)
  149.  
  150. Get the names of source code files from an old make file so you can add to or
  151. delete from the list and generate a new make file.
  152.  
  153. Macros           (alt-m)
  154.  
  155. Build macros for your Make files.  There are enough macros to compile in 
  156. three programming languages using both finished compile/link options and 
  157. debug compile/link options.  Also sets SUPER-MAINT to build either 
  158. EXEcutable files or LIBraries (using alt-l).
  159. .cp
  160.  
  161. Text Editor      (alt-t)
  162.  
  163. Access the text editor you specified in the Setup menu.  SUPER-MAINT passes
  164. the current file or a file you specify to the editor of your choice.
  165.  
  166. File Names       (alt-f)
  167.  
  168. If you are not using the default name for one or more of your files set the
  169. name here.
  170.  
  171. .cp
  172.  
  173. SUPER-MAINT========>  (alt-s)
  174.  
  175. Make the files you picked to generate.
  176.  
  177. Choose Default File Name (alt-c)
  178.  
  179. This is not on the menu.  You automatically get it when you exit the "Pick
  180. Code Files" choice.  If there are files on the list you may press alt-c to 
  181. choose the one that make and other files take their name from.
  182.  
  183. At the bottom of the Make menu there is a reminder to tell you whether SUPER
  184. MAKE is set to build executable files or to build libraries.  If you have a 
  185. mouse you may place the mouse cursor over this reminder and press the left
  186. button to get the "Choose Default File Name" choice.
  187. *END*
  188.  
  189. %setup%
  190.  
  191. Colors              Set the screen colors for SUPER-MAINT.
  192.  
  193. Which               Set which types of files you want to make.
  194.  
  195. SUPER-MAINT Files   Tell SUPER-MAINT where to find your text editor, where
  196.                     to put object and executable files, and what files and
  197.                     directories to look for.
  198.  
  199. Name Defaults       Should SUPER-MAINT use default file names, or do you want
  200.                     to specify each one manually?
  201.  
  202. Defaults            Compiler specific defaults
  203.  
  204. Library File Names  Set up memory model information and library names here.  
  205.  
  206. Glob/Loc            Toggle use of the Global Setup file or local ones.
  207. .cp
  208.  
  209.                      Quick Command Keys:
  210.  
  211.               alt-q     Quick quit
  212.               alt-v     Display Version and Serial Number
  213.               alt-i     Information about SUPER-MAINT
  214.               alt-b     Brand of Compiler Reminder Toggle
  215.                  F1     Display Help
  216.               alt-h     Display Help
  217.               alt-c     Change Colors
  218.               alt-w     Set Which Files To Make
  219.               alt-s     SM_Files setup
  220.               alt-f     Set File Names
  221.               alt-d     Set Defaults 
  222.               alt-l     Set Libraries
  223.               alt-g     Toggle Global or Local Setup
  224.               alt-r     Review Current Settings
  225. .cp
  226.  
  227.  
  228.  
  229.                      Mouse Command Keys
  230.  
  231.               left      Pick a Menu choice
  232.               right     Help
  233.               
  234. If you have a mouse you may exit any menu by placing the mouse cursor over 
  235. the small box at the upper left of the window and pressing the left button.
  236. To exit the program use the small box at the upper left of the screen.
  237. *END*
  238. %setupmn%
  239.  
  240. Regular     This calls the SUPER-MAINT Setup program the regular way.  You
  241.             may choose what category or categories of settings you want to
  242.             change.  It has the look and feel of the SUPER-MAINT Editor.
  243.  
  244. Novice      This calls the setup program in 'beginners' mode the same way 
  245.             INSTALL.EXE did -- it walks you through each setup category, 
  246.             one at a time, giving a short explanation of each one before 
  247.             you access it.  You may skip categories as you go along by 
  248.             pressing Esc at an explanation screen.
  249. *END*
  250.  
  251. %toolbox%
  252.  
  253.  
  254.  
  255.  
  256. Info about SM    Get information about SUPER-MAINT and EmmaSoft
  257.  
  258. Version          See the Version and your serial number.
  259.  
  260. Lang Def Files   Language Definition Files Editor
  261.  
  262. Manual           The SUPER-MAINT manual on line.  Read it on your screen
  263.                  or press ctrl-p to print it to your printer or a disk
  264.                  file.
  265. .cp
  266.  
  267.  
  268.  
  269.  
  270. Edit Help        Edit the help file (SUPER.HLP).  Mainly for adding new
  271.                  helps to the file for use with the SUPER-MAINT Help 
  272.                  Facility as a stand alone program.  If you edit this
  273.                  file you MUST do it here, so the SUPER-MAINT Editor can
  274.                  generate a help index file (SUPER.NDX).
  275.  
  276. Go To DOS        Go to DOS to run other utilities.  Type "exit <Enter>"
  277.                  to return to SUPER-MAINT
  278. *END*
  279.  
  280. %quit%
  281.  
  282. Yes              Leave SUPER-MAINT Editor and return to DOS
  283.  
  284. No               Return to the SUPER-MAINT Editor
  285.  
  286. *END*
  287. %drives%
  288.  
  289.        DRIVE WINDOW
  290.  
  291.  
  292.        Use Up and Down Arrows to highlight your choice.
  293.  
  294.        Press <Enter> to choose drive to show.
  295.  
  296.        Press <Esc> to go back.
  297.  
  298.        Or with a mouse:
  299.  
  300.        Place the mouse cursor on your choice and click the left button.
  301.  
  302.        Drives are read from a file.  To re-read the drives on your system
  303.        press ctrl-r.  (Floppies with the door open are NOT added to the 
  304.        menu.)
  305. *END*
  306. %file mark%
  307.  
  308.        FILES WINDOW
  309.  
  310.  
  311.        Use Page Up and Page Down to See more files.
  312.  
  313.        Use Home for 1st Screen of files
  314.  
  315.        Use End for last screen of files
  316.  
  317.        Use Up and Down arrows to highlight your choice.
  318.  
  319.        Use + and - to mark files for inclusion in Make File.
  320.  
  321.        Press <Esc> to go back.
  322.  
  323.        Or with a mouse:
  324.        Place the mouse cursor on your choice and click the left button.
  325. *END*
  326. %directory mark%
  327.  
  328.        DIRECTORY WINDOW       
  329.  
  330.  
  331.        Use Page Up and Page Down to see more Directories.
  332.  
  333.        Use Home for 1st Screen of Directories
  334.  
  335.        Use End for last screen of Directories
  336.  
  337.        Use Up and Down arrows to highlight your choice.
  338.  
  339.        Press <Enter> to choose directory to show.
  340.  
  341.        Press <Esc> to go back.
  342. .cp
  343.  
  344.  
  345.        Or with a mouse:
  346.  
  347.        Place the mouse cursor on your choice and click the left button.
  348.  
  349.  
  350.        Directories are read from a file.  To re-read the directories on your 
  351.        system press ctrl-r.  
  352. *END*
  353. %choose name%
  354.  
  355.  
  356.  
  357.        CHOOSE A FILE TO NAME YOUR FILES
  358.  
  359.        You have set SUPER-MAINT to use a code file name as the name
  360.        of some of your other files (such as your .exe or .com file).
  361.    
  362.        You must now choose a code file name to use.
  363.  
  364.        Place the menu bar over your choice and press <Esc>.
  365.  
  366.        Or with a mouse:
  367.  
  368.        Place the mouse cursor over the small box in the upper left of this
  369.        window and click the left button.
  370. *END*
  371. %set macros%
  372.  
  373. Command Summary:
  374.  
  375.               Pg Down    Next Screen
  376.               Pg Up      Last Screen
  377.               Home       First Screen
  378.               End        Last Screen
  379.               Esc        Exit to Make Menu
  380.               alt-q      Quick Quit to DOS
  381.               alt-v      Show Version and Serial Number
  382.               alt-r      Reset this screen according to langx.sm file
  383.               alt-e      Edit this screen
  384.               alt-l      Build for Linker/Lib toggle
  385.               alt-F1     Toggle Command Help List
  386. .cp
  387.  
  388.  
  389.  
  390. If you have a mouse the following commands work:
  391.  
  392.     Mouse Cursor over the little box       Left Button     Quit
  393.     Mouse Cursor in Upper Menu Window      Right Button    Help
  394.     Mouse Cursor Below Upper Menu Window   Left Button     Next Macro Set
  395.     Mouse Cursor Below Upper Menu Window   Right Button    Last Macro Set
  396. .cp
  397.  
  398. While Editing:
  399.  
  400.               alt-F1     Toggle Command Help List
  401.               F1         Help
  402.  
  403. Make File Format:
  404.  
  405.                             Target: Dependent
  406.                                Action
  407.  
  408. If the dependent has changed since the target was last built (or if the 
  409. target doesn't exist), then take the action to (re)build the target.
  410. *END*
  411. %maker%
  412.  
  413.                    TO USE:  sm [flags] [filename]
  414.  
  415. sm        The SUPER-MAINT Make Utility
  416.  
  417. flags     Tells SUPER-MAINT how to configure.  If you want SUPER-MAINT to
  418.           be configured the way it was the last time you used it you may
  419.           omit the flags.  A flag is ALWAYS preceded by a dash (-) or a 
  420.           slash (/).  There should always be a space between flags.  
  421.           Example:  sm -1 -n filename
  422.  
  423. filename  The name of the Make file.  If you want to work on the same file
  424.           you worked on last time you do not have to type it again.  (This
  425.           can go before, after, or in between flags.)
  426.  
  427. Once you have set SUPER-MAINT for the Make File and option flags you want to 
  428. use you only have to type "sm" to build a program.
  429. .cp
  430.  
  431.  
  432.  
  433. Command Summary:
  434.  
  435.           -h         View help on SUPER-MAINT commands
  436.           -hi        View information about SUPER-MAINT
  437.           -hf        View help on Make File Construction
  438.           -1         Use 1st Memory Model
  439.           -2         Use 2nd Memory Model
  440.           -3         Use 3rd Memory Model
  441.           -d         Build program with debugging information
  442.           -n         Build program without debugging information
  443.           -v         View Current SUPER-MAINT settings
  444. .cp
  445.  
  446.  
  447. Command Summary (continued):
  448.  
  449.           -o         Turn off Viewing Current SUPER-MAINT settings
  450.           -l         Look Only.  Shows commands but Doesn't Do Them
  451.           -r         Reset all flags 
  452.           -s         Suppresses most messages
  453.           -i         Ignore error codes from compilers, linker, etc.
  454.           -e         Erase Object files (to prepare for major rebuild)
  455.           -er        Erase Object files and rebuild in one step
  456.           -t         Touch Dependents (Make Dep File Date = Targ File Date
  457.           -q         Quick setup of items that effect SUPER-MAINT
  458.           -qb        Quick setup - beginner's mode
  459.           -m         Disable Executable Directory Move
  460. .cp
  461.  
  462. If you use the "View Current SUPER-MAINT commands" (-v) option you will be
  463. presented with a chart showing the current command flag settings.  Line 1
  464. show abbrieviations of the flag name.  Below that is a number which is the
  465. actual setting.  On the third line is the current Make file name (assuming 
  466. you entered a file name) with the .smf extension added.
  467.  
  468. HP ME DB SM IR                         ER MD TO EO LO VF R
  469. 0  2  2  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  1  1  
  470. file.smf
  471. .cp
  472.  
  473. Here is a summary of the flags (flags without the abbrieviation above them
  474. are unused, but reserved for future versions of SUPER-MAINT):
  475.  
  476. HP    Help                      Always shows 0
  477. ME    Current Memory Model      1 for 1st, 2 for 2nd, 3 for 3rd (User set in
  478.                                 SUPER-MAINT Editor)
  479. DB    Debug/Nodebug             1-Use Debug Information (User set in xxD 
  480.                                 macros)
  481.                                 2-Use No Debug Information (User set in xxND
  482.                                 macros)
  483. SM    Supress Messages          1-Messages on 2-Messages off
  484. IR    Ignore Return Codes       0-Stop on Error 1-Ignore errors 
  485. .cp
  486.  
  487. MO    Exe Move Feature          0-Enable 1-Disable
  488. TO    Touch Dependents          Always shows 0.
  489. LO    Look Only                 Always shows 0.
  490. EO    Erase Object Files        Always shows 0.
  491. ER    Erase and Totally Rebuild Always shows 0.
  492. VF    View Flags                1-On 2-Off  If you can see the chart this 
  493.                                 flag is on.
  494. R     Reset                     Always shows 0.
  495. *END*
  496. %edit language defs%
  497.  
  498. Place the bar over the Language Definition File you would like to edit and
  499. press Enter.
  500.  
  501.                          Esc    Quit.
  502.                           F1    Help.
  503. *END*
  504. %Edit Language Help%
  505.  
  506. The Language Definitions editor is divided into two screens.
  507.  
  508.         Screen 1 contains the Commands Form.  This contains the eight
  509.         compiler, linker, librarian commands at the top of a Language 
  510.         Definition file.
  511.  
  512.         Screen 2 has the Helps Form.  There are 20 lines that you may
  513.         type help information for this language on.  These lines will
  514.         be the help screens for defining macros.  You may put anything
  515.         you want on them.
  516.  
  517. See chapter 4 of the manual for an in-depth description of a Language
  518. Definition form.
  519. *END*
  520. %editing help%
  521.  
  522. WHY EDIT SUPER.HLP?
  523.  
  524. There are two reasons you may want to edit SUPER.HLP.
  525.  
  526. 1.  Although there is complete help provided as shipped you may want
  527.     to add to or alter some of the text to suit your preferences.
  528.  
  529. 2.  The SUPER-MAINT Help Facility can be used as a separate utility
  530.     for anything you want it for.  You could set up several help
  531.     screens for DOS, for example, and use it from the command line.
  532.     The command syntax is smh[key_word].  For example, if you had a
  533.     section called DIR you would type:  "smh DIR".  Remember that
  534.     you should NOT type the percent signs, and the keywords ARE case
  535.     sensative.
  536. .cp
  537.  
  538. PLEASE REMEMBER:  
  539.  
  540. 1.  If you give this shareware to someone else, or distribute it in any
  541.     way you MUST pass it on in its original form, either on an exact copy
  542.     of the distribution disk you recieved it on, or the original .zip
  543.     file (as distributed on bulletin boards).  This includes these 
  544.     super.hlp and super.ndx files.
  545.  
  546. 2.  This is copyrighted material.
  547.  
  548. 3.  If you think help should be added to the program please contact 
  549.     EmmaSoft.  All user suggestions for enhancements to our programs
  550.     are seriously considered, and we have included many of them in our 
  551.     products.
  552. .cp
  553.  
  554. If you change the help file you must follow a certain format.  We can 
  555. describe it here, but not illustrate it, as an illustration would inter-
  556. fere with the workings of this help file.  Help files are in ascii format
  557. and may be edited with any text editor that saves files in pure ascii 
  558. format.  YOU MUST FOLLOW THESE DIRECTIONS CAREFULLY, or the SUPER-MAINT 
  559. editor could crash, with no survivors.  To be on the safe side, make 
  560. copies of SUPER.HLP and SUPER.NDX before starting.  If things don't work
  561. out you can always restore these old files.
  562.  
  563. It would be a good idea to print out a page or two of SUPER.HLP before
  564. trying this, so you can see a working example of how the help file is 
  565. constructed.
  566. .cp 
  567.  
  568. HELP CODES:
  569.  
  570. A help section starts with a key word or phrase.  This must be less than
  571. 23 characters long, and has a percent sign at the beginning and end of the
  572. word or phrase.  Ex:  [percent symbol]My Help[percent symbol].
  573.  
  574. Screens in a help are divided by the divider symbol ([dot]cp 
  575. where [dot] = .)  Ex:     [dot]cp
  576.  
  577. Help sections always finish with the word END in capital letters with
  578. an asterick (*) at the beginning and end of the word.  
  579. Ex:  [asterick]END[asterick]
  580.  
  581. Help start, divider, and end codes must start at the beginning of a line.
  582.  
  583. You may have a maximum of 250 help subjects in SUPER.HLP.
  584. .cp
  585.  
  586. HELP TEXT FORMAT:
  587.  
  588. Help text for SUPER-MAINT ***MUST*** follow a certain format in order to 
  589. avoid causing serious problems.  
  590.  
  591. Between two help codes you may type NO MORE THAN 19 lines of help.  As 
  592. shipped SUPER-MAINT's help screens start with ablank line to make the screen 
  593. more readable.  A blank line is counted as a line.
  594.  
  595. Each line may be NO MORE THAN 76 characters wide.
  596. .cp
  597.  
  598. The help functions require two files, SUPER.HLP and SUPER.NDX.  The latter
  599. is an index that tells SUPER-MAINT hoe to read the help file.  IF YOU CHANGE
  600. OR ADD TO SUPER.HLP YOU MUST GENERATE A NEW INDEX.  This is automatically
  601. done if you change help ONLY using the "Edit Help" choice in the Toolbox
  602. menu.  What happens here is that SUPER-MAINT calls your text editor and 
  603. passes it the name of the help file.  When you exit your editor a new index
  604. is automatically generated.  If you get an error message you should restore
  605. the old versions of your help files.
  606.  
  607. If you follow the above formatting instructions you shouldn't have any 
  608. problems.  If you must have an altered help screen and you can't get this
  609. to work you may send your ascii file on a floppy disk to EmmaSoft and
  610. we will get it to work.  We charge $1 per help topic in your file plus
  611. $2 return postage for this.  Please include payment with your disk.
  612. *END*
  613. %make files%
  614.  
  615. Below is an example make file (sample.smf) for two source code modules, 
  616. sample.c and sample1.c, included with this package.  The comments are 
  617. included right in the file:
  618.  
  619. Here are the two macro sets used by this particular file (we are only
  620. compiling in one language (C), so we use that set of macros and the
  621. linker set of macros.  Chapter 3 explains a macro set.
  622. .cp
  623.  
  624. First Macro Set for Language 1--
  625.  
  626. L1CO = -c
  627. L1M1 = -AS
  628. L1M2 = -AM
  629. L1M3 = -AL
  630. L1ND = 
  631. L1D = -Zi -Od
  632. L1F1 = 
  633. L1F2 = 
  634. .cp
  635.  
  636. Second Macro Set for Linker--
  637.  
  638. LNCO = 
  639. LNM1 = 
  640. LNM2 = 
  641. LNM3 = 
  642. LNND = /E
  643. LND = /CO
  644. LNF1 = /NOE
  645. LNF2 = /ST:25000
  646. .cp
  647.  
  648. Special Macro User Typed in Manually--
  649.  
  650. CPY = sample.c+sample1.c
  651.  
  652. The TNAMES macro--
  653.  
  654. TNAMES = 
  655.         SAMPLE.OBJ&
  656.         SAMPLE1.OBJ
  657.  
  658. As long as notes don't have any of the symbols used in macros or action
  659. blocks in them, they don't need any special symbols or formatting.  Also,
  660. NOTES MUST NOT BE ON THE SAME LINE WITH A MACRO OR ACTION BLOCK.
  661. .cp
  662.  
  663. Action Blocks:
  664.  
  665. SAMPLE.OBJ:  C:\DUMP\SAMPLE.C
  666.          CL $(L1)  C:\DUMP\SAMPLE.C
  667.  
  668. SAMPLE1.OBJ:  C:\DUMP\SAMPLE1.C
  669.          CL $(L1)  C:\DUMP\SAMPLE1.C
  670.  
  671. sample.txt: blank
  672.          copy $(CPY) sample.txt
  673.  
  674. The above action block deserves special notice for several reasons.  It
  675. is an example of an action block you might put in manually (the SUPER
  676. MAKE Editor does not generate action blocks using DOS commands).
  677. .cp
  678.  
  679.        1.  It uses a DOS command on the action line.  SUPER-MAINT
  680.        supports these DOS commands (cd, chdir, chkdsk, cls, comp,
  681.        copy, del, dir, diskcomp, diskcopy, fc, find, format, mem,
  682.        mkdir, md, print, ren, remdir, rd, type, xcopy).
  683.  
  684.        2.  A Placebo has been used for the dependent.  This is any
  685.        word that doesn't represent an actual file.  This allows
  686.        SUPER-MAINT to execute the command on the second line of the
  687.        action block.  The first line of an action block MUST ALWAYS
  688.        have a target and a dependent.  The target is the file to be
  689.        created, the dependent is the file(s) it is created from.  You
  690.        may always use a placebo for the dependent.  If you do the 
  691.        command line will ALWAYS be executed, each time you make your
  692.        program.
  693. .cp
  694.  
  695.        3.  No path was specified for the dependent.  SUPER-MAINT will
  696.        look for the dependent in the current (default) directory.
  697.  
  698.        4.  The target is not an object file, or an .exe, .com, or .bat
  699.        file.  SUPER-MAINT generates a message that it doesn't know where
  700.        you want the target file, and that it is putting it in the 
  701.        current (default) directory.
  702.  
  703.        5.  A user defined macro has been used (CPY).  The other way to
  704.        do this would be to put the whole command right on the command
  705.        line.  Example -- copy sample.c+sample1.c sample.txt
  706.        Either method is acceptable.  By the way you can add commands
  707.        directly to the command line on command lines that use macro
  708.        sets such as (L1).  Just type them after the (L) macro.  You can
  709.        also put user defined macros there if you want.  The only limit
  710.        is that the whole command line, including whatever is contained in 
  711.        macros may not exceed 128 characters.
  712. .cp
  713.  
  714. SAMPLE.EXE: $(TNAMES)
  715.          LINK $(LN)  @SAMPLE.LNK
  716.  
  717.  
  718. Action blocks MUST be two lines with no blank lines in between them, as 
  719. shown above.
  720. .cp
  721.  
  722. The only trouble with using a LOT of notes is that it slows down the
  723. working of SUPER-MAINT.  So the rules for notes are
  724.  
  725.        Always put notes on their own line in the file.  For
  726.        clarity's sake skip a line between notes and macros or
  727.        action blocks.
  728.  
  729.        Never use symbols in notes that are used in macros or
  730.        action blocks (equal sign, colon, dollar sign, etc).
  731.  
  732.        Be sparing with your notes.
  733.  
  734. If your ultimate goal is to create a program the .smf file will link
  735. with @xxxxxxxx.lnk.  This is a message to SUPER-MAINT to use the .res
  736. file for the memory model you specified (.lrs, .lrm, .lrl).  When 
  737. compiling a library file the .lbr file is explicitly used in the make
  738. file and by the maker.
  739. *END*
  740. %libset%
  741.  
  742. Programmer's SUPER-MAINT can handle 3 memory models at one time.  If 
  743. you use memory models you should define the ones you use here, and
  744. keep separate lists of libraries for each model.  Alternatively, you 
  745. may set up all three for the same model, but keep different library
  746. lists in each one, giving you a quick way to change from one set of 
  747. libraries to another.
  748.  
  749. When shipped Memory Model 1 is the small model, 2 the medium model, and
  750. 3 is the large model.  You may store up to 11 libraries here.  Please
  751. note that some compilers require the full path for a library.  Check your
  752. compiler manual for this information.
  753. *END*
  754.